﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WindowsFormsApplication1
{
    public class CalculateNumber
    {
        /// <summary>
        /// 起始数值
        /// </summary>
        public double value = 0;

        public double sum(double num1, double num2)
        {
            return num1 + num2;
        }
        public double sub(double num1, double num2)
        {
            return num1 - num2;
        }
        public double multy(double num1, double num2)
        {
            return num1 * num2;
        }

        public double div(double num1, double num2)
        {
            return num1 / num2;
        }

    }
    public class Number
    {
        public int numberVal;
    }
}
